package com.etc.service.impl;

import com.etc.dao.BookstypeMapper;
import com.etc.entity.Bookstype;
import com.etc.service.BooksTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BooksTypeServiceImpl implements BooksTypeService {

    @Autowired
    BookstypeMapper dao;

    @Override
    public List<Bookstype> selectAllType() {
        return dao.selectAllType();
    }
}
